﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WFL.Wrapper.Highcharts
{
    public class SeriesObject : JsonObject
    {
        public string Type
        {
            get { return (string)this["type"]; }
            set { this["type"] = value; }
        }

        public string Name2
        {
            get { return (string)this["name"]; }
            set { this["name"] = value; }
        }

        public int YAxis
        {
            get { return GetValue<int>("yAxis"); }
            set { this["yAxis"] = value; }
        }

        public object[] Data
        {
            get { return (object[])this["data"]; }
            set { this["data"] = value; }
        }
    }
}
